package com.lzm.ydpt.mvp.modelimpl;

import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.byt.framlib.basemvp.boby.FormBodys;
import com.lzm.ydpt.entity.payresult.PayBean;
import com.lzm.ydpt.mvp.api.APIManager;
import com.lzm.ydpt.mvp.contract.PayOrderContract;

import io.reactivex.Observable;

/**
 * 类名称：PayOrderModelImpl
 * 类描述：模型实现
 */
public class PayOrderModelImpl implements PayOrderContract.Model {

    @Override
    public Observable<BaseResponseBean<PayBean>> onPayOrder(FormBodys formBodys) {
        return APIManager.getInstance().getAPIService().onPayMallOrder(formBodys);
    }
}